

#import "AppDelegate.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    // 设置tabbar 的背景颜色
    UITabBar *tabbar = [UITabBar appearance];
    tabbar.tintColor = [UIColor redColor];
    // 1.创建windows
    self.window = [[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds];
    // 2.设置跟控制器
    self.window.rootViewController = [[NSClassFromString(@"ZWTabBarController") alloc]init];
    // 3.显示成主视图
    [self.window makeKeyAndVisible];
    return YES;
}




@end
